*{
    padding:0;
    margin: 0;
    list-style: none;
    box-sizing: border-box;
    text-decoration: none;
}

.box{
    width: 300px;
    margin: 20px auto 0;
}

.header{
    height: 40px;
    border:1px solid #CCC;
    border-radius: 5px;
    padding:0 8px;
    background: #EEE;
    line-height: 38px;
    font-size: 14px;
}

.main{
    padding:10px;
    background: #EEE;
    border:1px solid #CCC;
    margin-top: 8px;
    display: none;
}
.show{
    display: block;
}
.main input{
    width: 100%;
    height: 35px;
    outline: 0;
    padding-left: 8px;
    font-size: 12px;
    border:1px solid #CCC
}

.main ul li{
    height: 35px;
    line-height: 35px;
}
.main ul li:hover{
    background: blue;
    color: #fff;
}
.main ul li span{
    float: right;
}